package com.wyl.xue.admin.system.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @ClassName: UserInfoVo
 * @Function: 用户信息
 * @Date: 2020/11/8 18:34
 * @author wangyl
 * @version V1.0
 */
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class UserInfoVo {
    @NotBlank
    private String username;
    private String avatar;
    private String introduction;
    private String email;
    @NotBlank
    private String phoneNumber;
    @NotBlank
    private String password;
    private Long userId;
    private List<String> permission;
    @NotBlank
    private String departmentId;
}
